package com.cjjd.c.bean.subscribe;

import android.text.TextUtils;

import com.cjjd.c.bean.BaseBean;

import java.util.List;

/**
 * ----------------------------------
 * Created by xyd on 2017/12/14.
 * <p/>
 * 描  述：
 * <p/>
 * 修订历史:
 * ----------------------------------
 */

public class HotelCommentShowModel extends BaseBean {


    public String customerPicPath;  //评论人头像
    public String customerName;     // 评论人名称
    public String dateTime;         //评论时间
    public String score;            // 分数
    public String roomName;         // 房型名称
    public String commnet;          // 评论内容
    public List<String> picList;    // 评论图片地址集合


    public int getScore() {

        int i = 0;
        if (TextUtils.isEmpty(score)) {
        } else {
            try {
                i = Integer.parseInt(score);
            } catch (NumberFormatException e) {
                e.printStackTrace();
            }
        }

        return i;
    }
}
